home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96b.txt / 000003_icon-group-sender _Thu Sep 26 01:56:43 1996.msg < prev    next >
Internet Message Format  |  1997-01-02  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Fri, 27 Sep 1996 12:39:19 MST
  2. Date: 26 Sep 96  09:55:36 BST
  3. From: R J Hare <rjhare@tattoo.ed.ac.uk>
  4. Subject: Copying of irregular images
  5. To: icon-group@cs.arizona.edu
  6. Reply-To: rjhare@ed.ac.uk
  7. Organisation:  Edinburgh University Computing Services
  8. Message-Id:  <9609260955.aa11962@uk.ac.ed.tattoo>
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10.  
  11. I want to copy what is (effectively) an irregular shaped image onto an
  12. existing window. CopyArea only allows me to copy rectangular areas, so a
  13. rectangular area which included the irregular image would, if copied also
  14. overwrite parts of the existing window.
  15.  
  16. Is there any way round this?
  17.  
  18. Is there a "transparent" colour so that I can set the background this way
  19. before generating my irregular image, so that when copied onto the window, the
  20. "transparent" pixels in the image do not affect the corresonding pixels in the
  21. window? I cannot find any mention of this in the WWW pages.
  22.  
  23. Should there be such a "transparent" colour or is the whole idea rubbish?
  24.  
  25. Thanks.
  26.  
  27. Roger Hare
  28.